//
//  CTGridItem.h
//  xdmall
//
//  Created by kane on 15/3/11.
//  Copyright (c) 2015年 朱建宇. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CTGridItemDelegate <NSObject>

@optional
- (void)CTGridItemClickAtIndex:(NSInteger)index;

@end

@interface CTGridItem : UIView

@property (nonatomic,strong)UIImageView *iconImageView;
@property (nonatomic,strong)UILabel *titleLabel;
@property (nonatomic,assign)NSInteger itemIndex;
@property (nonatomic,assign)id<CTGridItemDelegate>delegate;

- (id)initWithIndex:(NSInteger)index;

@end
